CC = gcc
OBJS = winbase.o winuser.o wingdi.o shellapi.o winreg.o mmsystem.o \
	asciifun.o commfunc.o sockets.o ucodfunc.o
INC = -I. -I/usr/include -I/d/devstud/vc/include
INC = 
DEFS = -D_M_IX86 -D_WIN32 -DRPC_NO_WINDOWS_H -DNOSECURITY
DEFS =

all: $(OBJS)

clean:
	rm -f *.o

winbase.o: winbase.c
	$(CC) -c -g $(INC) $(DEFS) winbase.c

winuser.o: winuser.c
	$(CC) -c -g $(INC) $(DEFS) winuser.c

wingdi.o: wingdi.c
	$(CC) -c -g $(INC) $(DEFS) wingdi.c

winreg.o: winreg.c
	$(CC) -c -g $(INC) $(DEFS) winreg.c

shellapi.o: shellapi.c
	$(CC) -c -g $(INC) $(DEFS) shellapi.c

mmsystem.o: mmsystem.c
	$(CC) -c -g $(INC) $(DEFS) mmsystem.c

asciifun.o: asciifun.c
	$(CC) -c -g $(INC) $(DEFS) asciifun.c

commfunc.o: commfunc.c
	$(CC) -c -g $(INC) $(DEFS) commfunc.c

sockets.o: sockets.c
	$(CC) -c -g $(INC) $(DEFS) sockets.c

ucodfunc.o: ucodfunc.c
	$(CC) -c -g $(INC) $(DEFS) ucodfunc.c

